<div ng-controller="wardenCtrl" class="cry">
    <div class="cry_title">
        <h3 class="mainTitle"> 
            协管员列表
        </h3>
        <div class="tools">
            <form>
                <ul>
                    <li>
                        <div search-input ng-model="memQueryParam.keyword" placeholder="协管员姓名"></div>
                    </li>
                    <li>
                        <button type="submit" class="btn btn-primary" ng-click="searchDate()">搜索</button>
                    </li>
                    <li>
                        <a type="submit" class="btn btn-default" href="#/app/warden/create">添加</a>
                    </li>
                </ul>
            </form>
        </div>
    </div>
    <div class="container-fluid bg-white">
            <table ng-table="tableParams" class="table table-hover table-bordered" template-pagination="templates/custom-pager.html">
                <tbody>
                <tr ng-repeat="item in resule">
                    <td data-title="'协管员姓名'" data-ng-bind="item.name"></td>
                    <td data-title="'登录账号'" data-ng-bind="item.phone"></td>
                    <td data-title="'所在地'" data-ng-bind="item.addr_info"></td>
                    <td data-title="'添加时间'" data-ng-bind="item.created_at"></td>
                    <td data-title="'操作'">
                    	<a href="#/app/warden/edit?id={{item.id}}">查看</a>
                    	<a style="color:red" href="javascript:;" ng-click="del(item.id)">删除</a>
                    </td>
                </tr>
                <tr>
                    <td colspan="5" ng-show="resule.length==0" style="text-align: center;">
                        暂无数据
                    </td>
                </tr>
                </tbody>
            </table>
        <div data-ng-show="!isInit"><loading></loading></div>
    </div>
</div>